package your.gafur.satckproblem;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

public class QuotesDatabaseActivity extends Activity  implements OnClickListener{
	 TextView tvQuotes;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        tvQuotes = (TextView) findViewById(R.id.tvQuotes);
        tvQuotes.setOnClickListener(this);
        

    }
	@Override
	public void onClick(View view) {
		if(view.getId()==R.id.tvQuotes)
		{
			Intent i = new Intent(QuotesDatabaseActivity.this, QuotesMain.class);
	        startActivity(i);
		}
		
	}
}